﻿/***********************************************************************
 * <copyright file="Acount.cs" company="BUCA JSC">
 * -->    Copyright (C) statement. All right reserved
 * </copyright>
 * 
 * Created:   BangNC
 * Email:    BangNC@buca.vn
 * Website:
 * Create Date: Friday, March 14, 2014
 * Usage: 
 * 
 * RevisionHistory: 
 * Date         Author               Description 
 * 
 * ************************************************************************/


using System.Runtime.Serialization;

namespace AcountingService.DataTransferObjects.Voucher 
{
    [DataContract(Namespace = "http://www.yourcompany.com/types/")  ]

    public class ItemTransactionDetailDto  
    {
        /// <summary>
        /// Gets or sets the cash detail identifier.
        /// </summary>
        /// <value>
        /// The cash detail identifier.
        /// </value>
        [DataMember]
        public long ItemTransactionDetailId { get; set; }

        /// <summary>
        /// Gets or sets the cash detail identifier.
        /// </summary>
        /// <value>
        /// The cash detail identifier.
        /// </value>
       [DataMember]
        public int InventoryItemId { get; set; }

        /// <summary>
        /// Gets or sets the account number.
        /// </summary>
        /// <value>
        /// The account number.
        /// </value>
        [DataMember]
        public string AccountNumber { get; set; }

        /// <summary>
        /// Gets or sets the account number.
        /// </summary>
        /// <value>
        /// The account number.
        /// </value>
       [DataMember]
        public string AccountNumberVat { get; set; }

        /// <summary>
        /// Gets or sets the corresponding account number.
        /// </summary>
        /// <value>
        /// The corresponding account number.
        /// </value>
       [DataMember]
        public string CorrespondingAccountNumber { get; set; } 

        /// <summary>
        /// Gets or sets the description.
        /// </summary>
        /// <value>
        /// The description.
        /// </value>
        [DataMember]
        public string Description { get; set; }

        /// <summary>
        /// Gets or sets the amount oc.
        /// </summary>
        /// <value>
        /// The amount oc.
        /// </value>
        /// 
       [DataMember]
        public decimal AmountOc { get; set; }
        /// <summary>
        /// Gets or sets the amount oc.
        /// </summary>
        /// <value>
        /// The amount oc.
        /// </value>
       [DataMember]
        public decimal AmountVat { get; set; }

        /// <summary>
        /// Gets or sets the amount oc.
        /// </summary>
        /// <value>
        /// The amount oc.
        /// </value>
       [DataMember]
        public decimal TaxRate { get; set; }


        /// <summary>
        /// Gets or sets the reference identifier.
        /// </summary>
        /// <value>
        /// The reference identifier.
        /// </value>
       [DataMember]
        public long RefId { get; set; }

        /// <summary>
        /// Gets or sets the cash detail identifier.
        /// </summary>
        /// <value>
        /// The cash detail identifier.
        /// </value>
       [DataMember]
        public int Quantity { get; set; }

        /// <summary>
        /// Gets or sets the cash detail identifier.
        /// </summary>
        /// <value>
        /// The cash detail identifier.
        /// </value>
       [DataMember]
        public decimal Price { get; set; }

       /// <summary>
       /// Gets or sets the voucher type identifier.
       /// </summary>
       /// <value>
       /// The voucher type identifier.
       /// </value>
        [DataMember]
       public int? VoucherTypeId { get; set; }
    }
}
